package com.fly.feishu.infrastructure.config;

import com.fly.feishu.infrastructure.exceptions.BussinessException;

import java.util.concurrent.TimeUnit;

/**
 * 飞书请求数据缓存
 */
public interface IStore {

    Object get(String key) throws BussinessException;

    void put(String key, Object value, int expire, TimeUnit timeUnit) throws BussinessException;

}